package com.zlp.member.service;

import com.alibaba.fastjson.JSONObject;
import com.zlp.common.base.BaseResponse;
import com.zlp.member.input.dao.UserInpDTO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

/**
 *
 * @description: 会员注册服务接口
 * @author: ZouLiPing
 * @contact: 请关注微信公众号“给自己一个smile”里面有详细电商项目文档,weixin:zlp865391093
 * @date: 2019年3月29日15:18:33
 * @version V1.0
 */
@Api(tags = "会员注册服务接口")
public interface MemberRegisterService {

    /**
     * 用户注册接口
     *
     * @param userInpDTO
     * @param registCode
     * @return
     */
    @PostMapping("/register")
    @ApiOperation(value = "会员用户注册信息接口")
    BaseResponse<JSONObject> register(@RequestBody UserInpDTO userInpDTO,
                                      @RequestParam("registCode") String registCode);
}
